Optimal. Leaf size=36 \[ \frac{\cosh (x)}{b}-\frac{(a+b) \tan ^{-1}\left (\frac{\sqrt{b} \cosh (x)}{\sqrt{a}}\right )}{\sqrt{a} b^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0646584, antiderivative size = 36, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {3190, 388, 205} \[ \frac{\cosh (x)}{b}-\frac{(a+b) \tan ^{-1}\left (\frac{\sqrt{b} \cosh (x)}{\sqrt{a}}\right )}{\sqrt{a} b^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3190
Rule 388
Rule 205
Rubi steps
\begin{align*} \int \frac{\sinh ^3(x)}{a+b \cosh ^2(x)} \, dx &=-\operatorname{Subst}\left (\int \frac{1-x^2}{a+b x^2} \, dx,x,\cosh (x)\right )\\ &=\frac{\cosh (x)}{b}-\frac{(a+b) \operatorname{Subst}\left (\int \frac{1}{a+b x^2} \, dx,x,\cosh (x)\right )}{b}\\ &=-\frac{(a+b) \tan ^{-1}\left (\frac{\sqrt{b} \cosh (x)}{\sqrt{a}}\right )}{\sqrt{a} b^{3/2}}+\frac{\cosh (x)}{b}\\ \end{align*}
Mathematica [C] time = 0.175573, size = 83, normalized size = 2.31 \[ \frac{\cosh (x)}{b}-\frac{(a+b) \left (\tan ^{-1}\left (\frac{\sqrt{b}-i \sqrt{a+b} \tanh \left (\frac{x}{2}\right )}{\sqrt{a}}\right )+\tan ^{-1}\left (\frac{\sqrt{b}+i \sqrt{a+b} \tanh \left (\frac{x}{2}\right )}{\sqrt{a}}\right )\right )}{\sqrt{a} b^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.017, size = 97, normalized size = 2.7 \begin{align*} -{\frac{a}{b}\arctan \left ({\frac{1}{4} \left ( 2\, \left ( a+b \right ) \left ( \tanh \left ( x/2 \right ) \right ) ^{2}-2\,a+2\,b \right ){\frac{1}{\sqrt{ab}}}} \right ){\frac{1}{\sqrt{ab}}}}-{\arctan \left ({\frac{1}{4} \left ( 2\, \left ( a+b \right ) \left ( \tanh \left ( x/2 \right ) \right ) ^{2}-2\,a+2\,b \right ){\frac{1}{\sqrt{ab}}}} \right ){\frac{1}{\sqrt{ab}}}}-{\frac{1}{b} \left ( \tanh \left ({\frac{x}{2}} \right ) -1 \right ) ^{-1}}+{\frac{1}{b} \left ( \tanh \left ({\frac{x}{2}} \right ) +1 \right ) ^{-1}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{{\left (e^{\left (2 \, x\right )} + 1\right )} e^{\left (-x\right )}}{2 \, b} - \frac{1}{8} \, \int \frac{16 \,{\left ({\left (a + b\right )} e^{\left (3 \, x\right )} -{\left (a + b\right )} e^{x}\right )}}{b^{2} e^{\left (4 \, x\right )} + b^{2} + 2 \,{\left (2 \, a b + b^{2}\right )} e^{\left (2 \, x\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.00023, size = 1305, normalized size = 36.25 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]